package com.aspose.cells;

class zaaz {
   CellArea a;
   int b;
   int c;
   int d;
   int e;
   private byte f;

   void a(zaaz var1) {
      this.a = var1.a;
      this.b = var1.b;
      this.d = var1.d;
      this.c = var1.c;
      this.e = var1.e;
      this.f = var1.f;
   }

   byte a() {
      return this.f;
   }

   void a(byte var1) {
      this.f = var1;
   }

   void a(boolean var1) {
      if (var1) {
         this.f = (byte)(this.f | 1);
      } else {
         this.f = (byte)(this.f & 254);
      }

   }

   boolean b() {
      return (this.f & 255 & 16) != 0;
   }

   void b(boolean var1) {
      if (var1) {
         this.f = (byte)(this.f | 16);
      } else {
         this.f = (byte)(this.f & 239);
      }

   }

   boolean c() {
      return (this.f & 255 & 32) != 0;
   }

   void c(boolean var1) {
      if (var1) {
         this.f = (byte)(this.f | 32);
      } else {
         this.f = (byte)(this.f & 223);
      }

   }

   boolean d() {
      return (this.f & 255 & 8) != 0;
   }

   void d(boolean var1) {
      if (var1) {
         this.f = (byte)(this.f | 8);
      } else {
         this.f = (byte)(this.f & 247);
      }

   }

   boolean e() {
      return this.d() || (this.f & 255 & 4) != 0;
   }

   void e(boolean var1) {
      if (var1) {
         this.f = (byte)(this.f | 4);
      } else {
         this.f = (byte)(this.f & 251);
      }

   }

   boolean f() {
      return this.d() || (this.f & 255 & 4) == 0;
   }

   String g() {
      if (this.e()) {
         return this.b != 65535 && this.c != 65535 ? CellsHelper.cellIndexToName(this.b, this.c) : "#REF!";
      } else {
         return null;
      }
   }

   void a(String var1) {
      int[] var2 = CellsHelper.cellNameToIndex(var1);
      this.b = var2[0];
      this.c = var2[0];
   }

   String h() {
      if (this.f()) {
         return this.e != 65535 && this.d != 65535 ? CellsHelper.cellIndexToName(this.d, this.e) : "#REF!";
      } else {
         return null;
      }
   }

   void b(String var1) {
      int[] var2 = CellsHelper.cellNameToIndex(var1);
      this.d = var2[0];
      this.e = var2[0];
   }
}
